package com.jell.purchase.persistence;

import com.jell.purchase.model.OrderInfoDo;
import com.jell.purchase.model.Query.OrderInfoQuery;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OrderInfoDao {
    /**
     * crm_order_info
     */
    long countByQuery(OrderInfoQuery example);

    /**
     * crm_order_info
     */
    int deleteByQuery(OrderInfoQuery example);

    /**
     * crm_order_info
     */
    int deleteByPrimaryKey(Integer id);

    /**
     * crm_order_info
     */
    int insert(OrderInfoDo record);

    /**
     * crm_order_info
     */
    int insertSelective(OrderInfoDo record);

    /**
     * crm_order_info
     */
    List<OrderInfoDo> selectByQuery(OrderInfoQuery example);

    /**
     * crm_order_info
     */
    OrderInfoDo selectByPrimaryKey(Integer id);

    /**
     * crm_order_info
     */
    int updateByQuerySelective(@Param("record") OrderInfoDo record, @Param("example") OrderInfoQuery example);

    /**
     * crm_order_info
     */
    int updateByQuery(@Param("record") OrderInfoDo record, @Param("example") OrderInfoQuery example);

    /**
     * crm_order_info
     */
    int updateByPrimaryKeySelective(OrderInfoDo record);

    /**
     * crm_order_info
     */
    int updateByPrimaryKey(OrderInfoDo record);
}